import { Sequelize } from 'sequelize'

const sequelize = new Sequelize('viewer-design-admin',
  'viewer-design-admin', 'viewer-design-admin', {
    host: 'localhost',
    dialect: 'mysql',
    timezone: '+08:00',
    pool: {
      max: 5,
      min: 0,
      idle: 10000
    }
  })

export default sequelize
